from django.urls import path, include
from rest_framework.routers import SimpleRouter
from . import views

router = SimpleRouter()
router.register('', views.LoginView, basename='login')
router.register('', views.SendSmSView, basename='send')
router.register('register', views.RegisterView, basename='register')
print(router.urls)

urlpatterns = [
    path('', include(router.urls)),
]